package com.xq.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author xq
 * @version 1.0
 * @date 2021/4/6 16:48
 * @description 人们实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class People {
    /**
     * 人们ID
     */
    private Integer id;
    /**
     * 人们姓名
     */
    private String name;
    /**
     * 人们地址
     */
    private String address;
    /**
     * 人们年龄
     */
    private Integer age;
    /**
     * 创建时间
     */
    private Date createTime;

    public People(String name, String address, Integer age, Date createTime) {
        this.name = name;
        this.address = address;
        this.age = age;
        this.createTime = createTime;
    }
}
